package spass.scene.forms;

import spass.geometry.Point;
import spass.scene.SceneObject;

public class Intersection {

    private final SceneObject object;
    private final Point point;

    public Intersection(SceneObject object, Point intersectionPoint) {
        this.point = intersectionPoint;
        this.object = object;
    }

    public SceneObject getObject() {
        return object;
    }

    public Point getPoint() {
        return point.copy();
    }

}
